assume cs:code,ds:data
data segment
    str db 'helloworld','$'
data ends
code segment
    
    start:
    mov ax,data
    mov ds,ax
    mov dx,offset str
    mov ah,9
    int 21H
    mov ah,4CH
    int 21H
code ends
end start
end
  